package com.amos.boot.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * PROJECT: boot
 * DESCRIPTION: note
 *
 * @author Daoyuan
 * @date 2019/1/17
 */
@Configuration
public class BootConfig {

    @Bean
    public RestTemplate restTemplate() {
        return new RestTemplate();
    }

}
